package com.hkfrich.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hkfrich.system.domain.SysRole;

import java.util.List;

/**
 * @ClassName 角色Mapper接口
 * @Desscription
 * @Author _Heishuai
 * @Date 2022-09-20 20:54:13
 * @Version 1.0
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    SysRole checkRoleNameUnique(String name);

    SysRole checkRoleKeyUnique(String roleKey);

    SysRole selectRoleById(Long roleId);

    int deleteRoleByIds(List<Long> roleIds);
}
